<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> 
<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> 
<%
String path = request.getContextPath();
%>
<html>
<head>
</head>
 <body>
	<div class="pageContent">
			<div class="pageFormContent" layoutH="56">
				<input name="sendMsgVO.id" type="hidden" value="<s:property value="sendMsgVO.id" />" readonly/>

				<p>
					<label>标题：</label>
					<input name="sendMsgVO.title" value="<s:property value="sendMsgVO.title" />"  type="text" size="30" readonly/>
				</p>
				<p>
					<label>类型：</label>
					<input name="sendMsgVO.msgType" value="<s:property value="sendMsgVO.msgType" />"  type="text" size="30" readonly/>
				</p>
				<p>
					<label>发送时间：</label>
					<input name="sendMsgVO.sendTime" value="<fmt:formatDate value="${sendMsgVO.sendTime }" pattern="yyyy-MM-dd"/>"  type="text" size="30" readonly/>
				</p>
				<!-- 
				<p>
					<label>周期：</label>
					<input name="sendMsgVO.scheduleType" value="<s:property value="sendMsgVO.scheduleType" />" class="required" type="text" size="30" alt="请输入周期"/>
				</p>
				 -->
				<p>
					<label>状态：</label>
					<!--<select name="sendMsgVO.status" >
                        <option value="">选择状态</option>
                        <c:forEach var="item" items="${statuses}">
                        	<option value="${item.name}" ${sendMsgVO.status eq item.name ? "selected" : "" }>${item.title}</option>
                        </c:forEach>
                   </select>-->
                   <input name="sendMsgVO.status" value="<s:property value="sendMsgVO.status" />"  type="text" size="30" readonly/>
				</p>
				
				<p>
					<label>模板：</label>
					<!--<select name="sendMsgVO.template.id" onChange="$('#content').val(map.get('I'+this.value));">
                        <option value="">选择模板</option>
                        <c:forEach var="item" items="${templates}">
                        	<option value="${item.id}" ${sendMsgVO.template.id eq item.id ? "selected" : "" }>${item.name}</option>
                        	<script>map.set('I${item.id}','${item.content}');</script>
                        </c:forEach>
                   </select>-->
                   <input name="sendMsgVO.template" value="<s:property value="sendMsgVO.template.name" />"  type="text" size="30" readonly/>
				</p>
				<p>
					<label>内容：</label>
					<input name="sendMsgVO.content" value="<s:property value="sendMsgVO.content" />"  type="text" size="30" readonly/>
				</p>
				<p>
					<label>目标用户：</label>
					<input name="sendMsgVO.users" value="<s:property value="sendMsgVO.users" />" type="text" size="30" readonly/>
				</p>
			</div>
	</div>
  </body>
</html>